package com.itany.pojo;

import java.io.Serializable;
import java.util.List;

/**
 * Author：汤小洋
 * Date：2019-09-18 上午9:56
 * Description：<描述>
 */
public class ManagerUser implements Serializable {


    private Integer id;
    private String username;
    private String password;
    private Integer supplierid;
    private List<Role> roles;


    public List<com.itany.pojo.Role> getRole() {
        return roles;
    }

    public void setRole(List<com.itany.pojo.Role> role) {
        roles = role;
    }

    public ManagerUser() {
    }

    public ManagerUser(Integer id, String username, String password, Integer supplierid) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.supplierid = supplierid;
    }

    @Override
    public String toString() {
        return "ManagerUser{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", supplierid=" + supplierid +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getSupplierid() {
        return supplierid;
    }

    public void setSupplierid(Integer supplierid) {
        this.supplierid = supplierid;
    }
}